package cn.hebutrun.oulabot.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * <p>
 * 用户登录表
 * </p>
 *
 * @author zhaolong
 * @since 2022-09-07
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("user_login")
@ApiModel(value = "UserLogin对象", description = "用户登录表")
public class UserLogin extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("账号")
    private String account;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("账号状态（0正常，1封号）")
    private String state;

    @ApiModelProperty("创造者")
    private String createBy;

    @ApiModelProperty("更新者")
    private String updateBy;
}
